package cn.highedu.boot05.entity;

/**
 * 对应数据库表idcard
 */
public class Idcard {
    private Integer id;
    private String num;
    private Person person;
    // get和set方法 toString方法

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public Person getPerson() {
        return person;
    }

    public void setPerson(Person person) {
        this.person = person;
    }

    @Override
    public String toString() {
        return "Idcard{" +
                "id=" + id +
                ", num='" + num + '\'' +
                ", person=" + person +
                '}';
    }
}
